package icraf.carbon.gui;

import icraf.carbon.core.Project;
import icraf.carbon.core.Zone.DataType;

import javax.swing.JPanel;
import javax.swing.event.ChangeListener;

//TODO: harusnya jangan extends component, tambah get component aja di method
public abstract class ProjectPanel extends JPanel {
	private static final long serialVersionUID = -8342801233585212913L;

	
	public abstract void setProject(Project project, DataType t, Object attributes);
	
	public abstract void setEditable(boolean editable);

	public abstract void setCornerSetting(String unitDef, String unitArea,
			boolean isUnitSelectable);
	public abstract void setZoneAreaScale(boolean isZoneAreaScale);
	public abstract void addZoneTabListener(ChangeListener l);
	public abstract void selectZoneTab(int i);
}
